package com.yibai.web.app.service;

import com.yibai.web.app.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yibai.web.dto.CategoryInfoRequest;
import com.yibai.web.dto.CategoryListRequest;
import com.yibai.web.dto.CategoryRequest;
import com.yibai.web.dto.SuperResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fang
 * @since 2021-04-19
 */
public interface CategoryService extends IService<Category> {


    SuperResponse list(CategoryListRequest request);

    SuperResponse info(CategoryRequest request);

    SuperResponse add(CategoryInfoRequest request);

    SuperResponse update(CategoryInfoRequest request);

    SuperResponse delete(CategoryRequest request);

    SuperResponse findCategoryBySid(CategoryRequest request);

}
